VisualComposer\Helpers\PostType A

Total Complexity 74
Dependencies 2
Dependents 14
Total lines 483
Lines of code 303
Logical lines of code 156
Comment lines 107
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
updatePostTypeUserRoleCapabilities()
A
42 9 58
queryGroupByMetaKey()
S
52 7 26
get()
S
59 7 14
delete()
S
58 6 15
getPostTypes()
S
52 5 27
setupPost()
S
51 5 27
update()
S
58 5 14
getPostData()
S
49 4 29
trash()
S
61 5 11
query()
S
64 5 9
getCustomPostCategories()
S
60 4 13
isPostGridDataSourceType()
S
65 3 9
updateCustomPostRoleCapabilityMigration()
S
59 2 14
getEditorTypeByPostTypeDependecy()
S
62 2 11
getPostLabel()
S
66 2 9
getPage404StatusList()
S
65 1 11
getCustomPostTaxonomies()
S
79 1 3
create()
S
80 1 3